/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.genew.squadra.xml.model.nav;

import java.util.List;

/**
 *
 * @author giona_000
 */
public class Nav {
    public static final String TYPE = "toc";
    public static final String ID = "toc";
    private String indice; //Rappresenta l'<h1> cioè il titolo dell'indice
    private List<Navhref> hrefs; // la lista delle pagine da elencare

    public Nav() {
    }

    public Nav(String indice, List<Navhref> hrefs) {
        this.indice = indice;
        this.hrefs = hrefs;
    }

    /**
     * @return the indice
     */
    public String getIndice() {
        return indice;
    }

    /**
     * @param indice the indice to set
     */
    public void setIndice(String indice) {
        this.indice = indice;
    }

    /**
     * @return the hrefs
     */
    public List<Navhref> getHrefs() {
        return hrefs;
    }

    /**
     * @param hrefs the hrefs to set
     */
    public void setHrefs(List<Navhref> hrefs) {
        this.hrefs = hrefs;
    }
    
}
